package com.zerox.singleton.demo02;

/**
 * 饿汉模式
 * 线程安全的
 */
public class JiFactory {
    private static JiFactory jiFactory = new JiFactory();


    private JiFactory() {
    }

    public static JiFactory getInstance(){
        return jiFactory;
    }
}
